package com.lottery.material.vo.portaluser;

import com.lottery.material.plugin.Phone;
import com.lottery.material.vo.BaseBody;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Data
public class SignInVo extends BaseBody implements Serializable {
    @NotEmpty(message = "手机号不能为空")
    @Phone
    String loginPhoneNumber;
    @NotEmpty(message = "登录类型不能为空")
    String loginType;
    @NotEmpty(message = "密码或验证码不能为空")
    String passwordOrCode;
}
